package com.ruoyi.system.domain.vo;

import com.ruoyi.system.domain.Attachment;
import com.ruoyi.system.domain.SysTopic;
import org.springframework.data.redis.listener.Topic;

import java.util.List;

public class TopicVo {

    private String topicType;

    private List<SysTopic> sysTopics;

    public TopicVo(String topicType, List<SysTopic> sysTopics) {
        this.topicType = topicType;
        this.sysTopics = sysTopics;
    }

    public String getTopicType() {
        return topicType;
    }

    public void setTopicType(String topicType) {
        this.topicType = topicType;
    }

    public List<SysTopic> getSysTopics() {
        return sysTopics;
    }

    public void setSysTopics(List<SysTopic> sysTopics) {
        this.sysTopics = sysTopics;
    }

    @Override
    public String toString() {
        return "TopicVo{" +
                "topicType='" + topicType + '\'' +
                ", sysTopics=" + sysTopics +
                '}';
    }
}
